package com.h3c.nem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.h3c.nem.dto.FamilyAndContactorDTO;
import com.h3c.nem.entity.TbOfferFamily;
import com.h3c.nem.vo.TbOfferFamilyVO;

import java.util.List;

/**
 * 家庭成员接口类
 *
 * @author chenyifan
 * @since 2022-06-02 17:50:02
 */
public interface ITbOfferFamilyService extends IService<TbOfferFamily> {

    /**
     * 保存
     * @param familyAndContactorDTO
     */
    void saveFamilyInfo(FamilyAndContactorDTO familyAndContactorDTO);

    /**
     * 回显家庭信息
     * @return
     */
    List<TbOfferFamilyVO> showFamilyInfo();

    /**
     * 获取家庭成员
     * @return List<TbOfferFamilyVO>
     */
    List<TbOfferFamilyVO> getFamilyByWorkerId(String workerId);
}

